package com.aibaixun.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 *
 * @author makejava
 * @since 2023-07-03 13:57:18
 */
@Data
public class ActiveAlarm {

	private Integer id;

	private Integer scId;

	@ApiModelProperty(value = "站点标识")
	private String siteId;

	@ApiModelProperty(value = "告警设备")
	private String deviceId;

	@ApiModelProperty(value = "状态")
	private Integer type;

	@ApiModelProperty(value = "信号id")
	private String signalId;

	@ApiModelProperty(value = "信号编号")
	private String signalNumber;

	@ApiModelProperty(value = "信号名称")
	private String signalName;

	private String nmalarmId;

	@ApiModelProperty(value = "序列号")
	private String serialNo;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "告警时间")
	private Date alarmTime;

	@ApiModelProperty(value = "告警等级")
	private String alarmLevel;

	@ApiModelProperty(value = "告警状态 0 未解除 2 解除")
	private String alarmStatus;

	private String alarmDesc;

	@ApiModelProperty(value = "告警值")
	private String alarmValue;

	@ApiModelProperty(value = "系统序列号")
	private String sysNo;

	@ApiModelProperty(value = "告警备注")
	private String alarmRemark;

	private String objectRdn;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "插入时间")
	private Date insertTime;

	@ApiModelProperty(value = "供应商名称")
	private String vendorName;

	private String omcId;

	private Integer IsDeleted;

}

